package com.ruoyi.system.service;

import java.util.List;

import com.ruoyi.common.core.domain.R;
import com.ruoyi.system.domain.WOrderOpeara;
import com.ruoyi.system.domain.vo.WOrderOpearaVO;

/**
 * 物料订单操作记录Service接口
 * 
 * @author ruoyi
 * @date 2021-12-05
 */
public interface IWOrderOpearaService 
{
	
	/**
	 * 添加发料
	 * @param wOrderOpearaVO
	 * @return
	 */
    public R addWOrderOpeara(WOrderOpearaVO wOrderOpearaVO);
    /**
     * 添加发料的入库
     * @param wOrderOpearaVO
     * @return
     */
    public R addIn(WOrderOpearaVO wOrderOpearaVO);
    public R addReturn(WOrderOpearaVO wOrderOpearaVO);
    
    public R<WOrderOpearaVO> selectWOrderOpearaById(Long id);
    
    

    /**
     * 查询物料订单操作记录列表
     * 
     * @param wOrderOpeara 物料订单操作记录
     * @return 物料订单操作记录集合
     */
    public List<WOrderOpearaVO> selectWOrderOpearaList(WOrderOpearaVO wOrderOpeara);
    public List<WOrderOpearaVO> listRefundSmall(WOrderOpearaVO wOrderOpeara);

    /**
     * 新增物料订单操作记录
     * 
     * @param wOrderOpeara 物料订单操作记录
     * @return 结果
     */
    public int insertWOrderOpeara(WOrderOpeara wOrderOpeara);

    /**
     * 修改物料订单操作记录
     * 
     * @param wOrderOpeara 物料订单操作记录
     * @return 结果
     */
    public int updateWOrderOpeara(WOrderOpeara wOrderOpeara);

    /**
     * 批量删除物料订单操作记录
     * 
     * @param ids 需要删除的物料订单操作记录主键集合
     * @return 结果
     */
    public int deleteWOrderOpearaByIds(Long[] ids);

    /**
     * 删除物料订单操作记录信息
     * 
     * @param id 物料订单操作记录主键
     * @return 结果
     */
    public int deleteWOrderOpearaById(Long id);
}
